import request from '@/utils/request'

// 查询上门回收审核列表
export function listRecycling(query) {
  return request({
    url: '/audit/recycling/list',
    method: 'get',
    params: query
  })
}

// 查询上门回收审核详细
export function getRecycling(detailorderid) {
  return request({
    url: '/audit/recycling/' + detailorderid,
    method: 'get'
  })
}

// 新增上门回收审核
export function addRecycling(data) {
  return request({
    url: '/audit/recycling',
    method: 'post',
    data: data
  })
}

// 修改上门回收审核
export function updateRecycling(data) {
  return request({
    url: '/audit/recycling',
    method: 'put',
    data: data
  })
}

// 删除上门回收审核
export function delRecycling(detailorderid) {
  return request({
    url: '/audit/recycling/' + detailorderid,
    method: 'delete'
  })
}
